# name : gsDesign nEvents
# key : gsDesign.nEvents
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))
# contributor: Shuguang Sun
# --
nEvents(
  # Schoenfeld (1981)
  hr = ${1:hr},
  alpha = ${2:0.025},
  beta = ${3:0.1},
  ratio = ${4:1}, # Exp/Control
  sided = 1,
  hr0 = ${5:1},
  n = ${6:0},
  tbl = FALSE
)
